package org.jeecg.common.modules.doctor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: doctor_schedule
 * @Author: jeecg-boot
 * @Date:   2020-08-22
 * @Version: V1.0
 */
@Data
@TableName("doctor_schedule")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="doctor_schedule对象", description="doctor_schedule")
public class DoctorSchedule implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**医生ID*/
	@Excel(name="医院",width=32)
    @ApiModelProperty(value="医院Id")
    private String hospitalId;
	@Excel(name = "医生ID", width = 15)
    @ApiModelProperty(value = "医生ID")
    private String doctorId;
	/**排班所在日期*/
	@Excel(name = "排班所在日期", width = 15)
    @ApiModelProperty(value = "周一-周日")
    private Integer scheduleWeek;
	/**1. 早上  2.中午  3.晚上*/
	@Excel(name = "1. 上午  2下午", width = 15)
    @ApiModelProperty(value = "1. 上午  2下午")
    private Integer type;
    @ApiModelProperty(value = "1. 已设置  0未设置")
	private Integer status;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
}
